<extend name="layout:index"/>
<block name="content">
<div class="mws-panel grid_8">
	<div class="mws-panel-header">
    	<span>管理中心-参数设置</span>
    </div>
    <div class="mws-panel-body no-padding">
    	<form class="mws-form" action="/admin/system/edit2" method="post">
    		<div class="mws-form-inline">
    			<div class="mws-form-row">
    				<label class="mws-form-label">进场比例</label>
    				<div class="mws-form-item">
    					<input name="param10" value="{$data.param10}" type="text">人民币：1美元
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">出场比例</label>
    				<div class="mws-form-item">
						1美元：
    					<input name="param11" value="{$data.param11}" type="text">
    					人民币
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">当前股价</label>
    				<div class="mws-form-item">
    					<input name="param1" value="{$data.param1}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">原始股价</label>
    				<div class="mws-form-item">
    					<input name="param2" value="{$data.param2}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label"><font style="color:red;font-size:20px;">不可出售价格</font></label>
    				<div class="mws-form-item">
    					<input name="maxsell" value="{$data.maxsell}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">交易</label>
    				<div class="mws-form-item">
    					市场每交易
    					<input name="param8_1" value="{$data.param8_1}" type="text">股，价格就上涨<input type="text" name="param8_2" value="{$data.param8_2}">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label"><font style="color:red;font-size:20px;">最大可交易股</font></label>
    				<div class="mws-form-item">
    					<input name="points_num1" value="{$points_num1}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">拆分前最终价</label>
    				<div class="mws-form-item">
    					<input name="param12" value="{$data.param12}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">保单费</label>
    				<div class="mws-form-item">
    					<input name="param3" value="{$data.param3}" type="text">%
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">匹配时间设置</label>
    				<div class="mws-form-item">
    					从<input name="txsjstart" value="{$data.txsjstart}" type="text">到<input type="text" name="txsjend" value="{$data.txsjend}">天
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">剩余E积分总数</label>
    				<div class="mws-form-item">
    					<input name="sys" value="{$data.sys}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">今日E积分交易数</label>
    				<div class="mws-form-item">
    					<input name="jys" value="{$data.jys}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">本轮E积分总数</label>
    				<div class="mws-form-item">
    					<input name="nowetotal" value="{$data.nowetotal}" type="text">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">出售比例</label>
    				<div class="mws-form-item">
    					系统自动扣除<input name="param4" value="{$data.param4}" type="text">%的手续费，<br><br>
    					剩余的<input type="text" name="param7" value="{$data.param7}">%进入商城积分，
    					剩余<input type="text" name="param5" value="{$data.param5}">%复投，<input type="text" name="param6" value="{$data.param6}">%现金积分。
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">动态奖扣税和慈善基金</label>
    				<div class="mws-form-item">
    					动态奖金扣<input name="dongtaishui" value="{$newkg.dongtaishui}" type="text">%税，慈善基金扣<input type="text" name="cishanshui" value="{$newkg.cishanshui}">%<br><br>
    					是否开启该功能
    					<input type="radio" name="kaiguan" value="1" <if condition="newkg.kaiguan eq 1">checked</if>>是
    					<input type="radio" name="kaiguan" value="0" <if condition="newkg.kaiguan eq 0">checked</if>>否
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">一键收集现金积分</label>
    				<div class="mws-form-item">
    					是否开启该功能
    					<input type="radio" name="yijiankg" value="1" <if condition="newkg.yijiankg eq 1">checked</if>>是
    					<input type="radio" name="yijiankg" value="0" <if condition="newkg.yijiankg eq 0">checked</if>>否
    				</div>
    			</div>
    		</div>
    		<div class="mws-button-row">
    			<input value="确认" id="btn4" class="btn btn-danger" type="submit">
    			<input value="重置" class="btn " type="reset">
    		</div>
    	</form>
    </div>
    <script>
        $('#btn4').click(function(){
            if($('textarea').val() == ''){
                var txt=  "原因不能为空";
                window.wxc.xcConfirm(txt, window.wxc.xcConfirm.typeEnum.error);
                return false;
            }
        });
    </script>  	
</div>
</block>